<?php 
class Galeria_controller extends Base_controller 
{
	function __construct($registry)
	{
		parent::__construct($registry);
		
		// Cargar models requeridos
		$this->registry->usuario_model = new Usuario_model();
		$this->registry->tipo_servicio_model = new Tipo_servicio_model();
		$this->registry->departamento_model = new Departamento_model();
		$this->registry->pais_model = new Pais_model();
		$this->registry->imagen_model = new Imagen_model();
		
	}
	
	public function index() 
	{
		$this->registry->template->lista_imagenes = $this->registry->imagen_model->getAll();
//		$this->registry->template->view = 'index';
		$this->registry->template->view = 'galeria';	
        $this->registry->template->show('layout');      
	}
	
		
	
}	
?>